<?php
/**
* Template Name: Blog Posts
**/
	get_header();
?>
<div class="breadcrumb callout-top clearfix">
	<div class="grid">
		<div class="breadcrumbs col_6">
		    <?php
		    if(function_exists('bcn_display')) {
		    	bcn_display();
		    }
		    ?>
		</div>
		<div class="page_title col_6">
			<?php wp_title(''); ?>
		</div>
	</div>
</div>
<div class="inner_page callout-top clearfix">
	<div class="grid">
		<div class="col_8">
		<?php query_posts('post_type=post&post_status=publish&posts_per_page=6'); ?>
		<?php if( have_posts() ): ?>
		
		<?php while( have_posts() ): the_post(); ?>
		
		<div id="post-<?php get_the_ID(); ?>" <?php post_class(); ?>>
			<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( array(200,220) ); ?></a>
			<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
			<?php the_content(); ?>
		</div>
		<?php endwhile; ?>
		<div class="navigation">
			<span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span> 
			<span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
		</div>		
		<?php else: ?>
		<div id="post-404" class="noposts">
			<p><?php _e('None found.','example'); ?></p>
		</div>
		
		<?php
			endif;
			wp_reset_query();
		?>
		
		</div>
		<div class="col_4">
			<?php echo dynamic_sidebar('Blog Sidebar'); ?>
		</div>
		</div>
	</div>
</div>
<div class="startnow callout callout-top clearfix">
	<div class="grid">
		<?php dynamic_sidebar('Start Now 3rd'); ?>
	</div>
</div>
<?php
	get_footer();
?>